﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="VolunteerQueryControl.ascx.vb"
    Inherits="WebForm_CommonControl_VolunteerQueryControl" %>
<asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <div align="left">
            <table>
       <%--         <tr>
                    <asp:PlaceHolder ID="trRegion" runat="server">
                        <td align="right">
                            <asp:Label ID="lblRegion" runat="server" Text="<%$ Resources:Region %>"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="ddlRegion" runat="server" DataTextField="RegionName" DataValueField="RegionID"
                                AutoPostBack="True">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            <asp:Label ID="lblRegion2" runat="server" Text="<%$ Resources:Region2 %>"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="ddlRegion2" runat="server" DataTextField="RegionName" DataValueField="RegionID">
                            </asp:DropDownList>
                        </td>
                    </asp:PlaceHolder>
                </tr>--%>
                <tr>
             <%--   <asp:UpdatePanel ID="upOrganizationID" runat="server" UpdateMode="Conditional">
            <ContentTemplate>--%>
                <td align="right">
                    <asp:Label ID="lblOrganizationID" runat="server" Text="<%$ Resources:OrganizationID %>"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlOrganizationID" runat="server" AutoPostBack="true"  DataTextField="OrganizationName" DataValueField="UOrganizationID" OnSelectedIndexChanged="ddlOrganizationID_SelectedIndexChanged" OnInit="ddlOrganizationID_Init">
                    </asp:DropDownList>
                </td>
                <asp:PlaceHolder ID="phVOrganizationID" runat="server" Visible="false">
                    <td align="right">
                        <asp:Label ID="lblVOrganizationID" runat="server" Text="<%$ Resources:VOrganizationID %>"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlVOrganizationID" runat="server" AutoPostBack="false">
                        </asp:DropDownList>
                    </td>
                </asp:PlaceHolder>
      <%--      </ContentTemplate>
        </asp:UpdatePanel>--%>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lblVolunteerId" runat="server" Text="<%$ Resources:VolunteerId %>"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtVolunteerId" runat="server" MaxLength="20"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                        <asp:Label ID="lblVolunteerName" runat="server" Text="<%$ Resources:VolunteerName %>"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtVolunteerName" runat="server" MaxLength="20"></asp:TextBox>
                    </td>
                </tr>
                <asp:PlaceHolder ID="PlaceHolder1" runat="server" Visible="false">
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblTEL" runat="server" Text="<%$ Resources:TEL %>"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtTEL" runat="server" MaxLength="20"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td align="left">
                            &nbsp;</td>
                    </tr>
                </asp:PlaceHolder>
                <asp:PlaceHolder ID="PlaceHolder2" runat="server" Visible="false">
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblEcolifeID" runat="server" Text="<%$ Resources:EcolifeID %>" />
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtEcolifeID" runat="server" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td align="left">
                            &nbsp;</td>
                    </tr>
                </asp:PlaceHolder>
            </table>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
